import {action, observable} from 'mobx'

export default class CalcStore {
    @observable counter: number = 0;

    @action inc = ()=>this.counter += 1;
    @action dec = ()=>this.counter -= 1;

}
